package ContractCouple.model;


import java.io.Serializable;
import java.util.GregorianCalendar;

public abstract class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * The name of the user.
	 */
	private String name;
	
	/**
	 * The birthday of the user.
	 */
	private GregorianCalendar dob;
	
	/**
	 * The sexual of the user.
	 */
	private String sexual;
	
	public User(String na, GregorianCalendar dob, String se){
		this.name = na;
		this.dob = dob;
		this.sexual = se;
	}
	
	public String getName(){
		return this.name;
		
	}
	
	public void setName(String newName){
		this.name = newName;
	}
	
	public GregorianCalendar getBirthday(){
		return this.dob;		
	}
	
	public void setBirthday(GregorianCalendar newBirthday){
		
		this.dob = newBirthday;
		
	}
	
	public String getSexual(){
		return this.sexual;
	}
	
	public void setSexual(String sex){
		this.sexual = sex;
	}
}
